import request from '@/utils/request'

// 查询仪器使用记录列表
export function listEquipment_use(query) {
  return request({
    url: '/eamp/equipment_use/list',
    method: 'get',
    params: query
  })
}

// 查询仪器使用记录详细
export function getEquipment_use(logId) {
  return request({
    url: '/eamp/equipment_use/' + logId,
    method: 'get'
  })
}

// 新增仪器使用记录
export function addEquipment_use(data) {
  return request({
    url: '/eamp/equipment_use',
    method: 'post',
    data: data
  })
}

// 修改仪器使用记录
export function updateEquipment_use(data) {
  return request({
    url: '/eamp/equipment_use',
    method: 'put',
    data: data
  })
}

// 删除仪器使用记录
export function delEquipment_use(logId) {
  return request({
    url: '/eamp/equipment_use/' + logId,
    method: 'delete'
  })
}
